<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/RanchBuddy.master" Inherits="RanchBuddy.Web.Services.MyViewPage" %>
<%@ Import Namespace="RanchBuddy.Core.Domain.Impl"%>
<%@ Import Namespace="RanchBuddy.Core.Domain"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <%= Html.ValidationSummary() %>

    <% using (Html.BeginForm())
       {%>

        <fieldset>
            <legend>Associate yourself with this company!</legend>
            <label for="AssociationType">Association:</label>
            <select name="AssociationType">
                <%
        foreach (CompanyAccountType t in ViewData["CompanyAccountTypes"] as List<CompanyAccountType>)
        {
                    %>
                    <option value="<%=t.CompanyAccountTypeID %>"><%= t.Name%></option>
                <%
        }
                %>
                </select>
                <%= Html.Hidden("CompanyTypeID")%>
                <%= Html.Hidden("CompanyID")%>
        </fieldset>
        <%
        }
         %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
